Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProComponents 3.0 开发 #8179

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open

ProComponents 3.0 开发 #8179

wants to merge 42 commits into from

Conversation

chenshuai2144
Copy link
Contributor

ref #8178

Copy link

github-actions bot commented Feb 21, 2024

😭 Deploy PR Preview failed.

Copy link

codecov bot commented Feb 21, 2024

Codecov Report

Attention: Patch coverage is 95.72650% with 5 lines in your changes missing coverage. Please review.

Project coverage is 97.57%. Comparing base (9d1ccd6) to head (cb80e0c).
Report is 30 commits behind head on master.

Current head cb80e0c differs from pull request most recent head 4a8f063

Please upload reports for the commit 4a8f063 to get more accurate results.

Files Patch % Lines
...ackages/utils/src/transformKeySubmitValue/index.ts 93.22% 3 Missing and 1 partial ⚠️
packages/provider/src/useStyle/index.ts 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8179      +/-   ##
==========================================
+ Coverage   97.26%   97.57%   +0.31%     
==========================================
  Files         303      298       -5     
  Lines        9573     9336     -237     
  Branches     3551     3433     -118     
==========================================
- Hits         9311     9110     -201     
+ Misses        236      199      -37     
- Partials       26       27       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

socket-security bot commented Feb 23, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Install scripts npm/@swc/core@1.4.2
  • Install script: postinstall
  • Source: node postinstall.js
  • orphan: npm/@swc/core@1.4.2
🚫

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/@swc/core@1.4.2

},
allValues: T,
): T => {
if (currentValues == null || currentValues === undefined) {

Check notice

Code scanning / CodeQL

Unneeded defensive code Note

This guard always evaluates to false.
dataFormatMap,
key as (number | string)[],
) as SearchTransformKeyFn;
``;

Check warning

Code scanning / CodeQL

Expression has no effect Warning

This expression has no effect.
Copy link

socket-security bot commented Apr 21, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/lodash.tonumber@4.0.3 None 0 7.17 kB jdalton

View full report↗︎

{
text: dataValue as React.ReactNode,
...props,
mode: mode || 'read',

Check warning

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'mode' always evaluates to true.
{
text: dataValue as React.ReactNode,
...props,
mode: mode || 'read',

Check warning

Code scanning / CodeQL

Useless conditional Warning

This use of variable 'mode' always evaluates to true.
@chenshuai2144
Copy link
Contributor Author

renderFormItem 修改为 formItemRender

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant